<template>
	<view>
		<passkeyborad :show="show" @aaa=fn></passkeyborad>
	</view>
</template>

<script>
	import passkeyborad from '@/components/yzc-paykeyboard/yzc-paykeyboard.vue'
	export default {
		components: {
			passkeyborad
		},
		data() {
			return {
				password: '',
				show: true
			}
		},
		methods: {
			fn(v) {
				this.password = v
				if (this.password.length == 6) {
					uni.navigateTo({
						url: '../paymentSuccess/paymentSuccess'
					})
				}
			}
		},
		mounted() {

		}
	}
</script>

<style lang="less" scoped>

</style>
